Using the logging library
Using the logging library
The logging library provides the debug_printf() function which is a lightweight implementation of printf(). It also provides a framework for compile-time control of which debug messages are enabled.
Required tools and libraries
The code in this application note is known to work on version 14.2.3 of the xTIMEcomposer tools suite, it may work on other versions.
The application does not have any dependencies (i.e. it does not rely on any libraries).
Required hardware
The example code provided with the application has been implemented and tested on the xCORE-200 explorerKIT.
Prerequisites
- This document assumes familiarity with the XMOS xCORE architecture, the XMOS tool chain and the xC language. Documentation related to these aspects which are not specific to this application note are linked to in the references appendix.
- For a description of XMOS related terms found in this document please see the XMOS Glossary [1].
[1] |